package com.gxuwz.attend.entity;

public class Course {
    private String courseID;
    private String classID;
    private String courseName;
    private String year;
    private String term;
    private int hour;

    public Course() {
    }

    public Course(String courseID, String classID, String courseName, String year, String term, int hour) {
        this.courseID = courseID;
        this.classID = classID;
        this.courseName = courseName;
        this.year = year;
        this.term = term;
        this.hour = hour;
    }

    /**
     * 获取
     * @return courseID
     */
    public String getCourseID() {
        return courseID;
    }

    /**
     * 设置
     * @param courseID
     */
    public void setCourseID(String courseID) {
        this.courseID = courseID;
    }

    /**
     * 获取
     * @return classID
     */
    public String getClassID() {
        return classID;
    }

    /**
     * 设置
     * @param classID
     */
    public void setClassID(String classID) {
        this.classID = classID;
    }

    /**
     * 获取
     * @return courseName
     */
    public String getCourseName() {
        return courseName;
    }

    /**
     * 设置
     * @param courseName
     */
    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }

    /**
     * 获取
     * @return year
     */
    public String getYear() {
        return year;
    }

    /**
     * 设置
     * @param year
     */
    public void setYear(String year) {
        this.year = year;
    }

    /**
     * 获取
     * @return term
     */
    public String getTerm() {
        return term;
    }

    /**
     * 设置
     * @param term
     */
    public void setTerm(String term) {
        this.term = term;
    }

    /**
     * 获取
     * @return hour
     */
    public int getHour() {
        return hour;
    }

    /**
     * 设置
     * @param hour
     */
    public void setHour(int hour) {
        this.hour = hour;
    }

    public String toString() {
        return "Course{courseID = " + courseID + ", classID = " + classID + ", courseName = " + courseName + ", year = " + year + ", term = " + term + ", hour = " + hour + "}";
    }
}
